package com.etc.vo;

import java.io.Serializable;

/**
 * 文件名:com.etc.vo.OrderMessageVo
 * 描述：前端秒杀订单的提交
 * 作者:吴仕泉
 * 时间:2019/5/27 8:42
 */
public class OrderMessageVo implements Serializable{
    //收件人名字
    private String  sureusername;

    //秒杀商品数量
    private Integer sureshopnum;

    //秒杀价格
    private double surepice;

    //秒杀用户ID
    private Integer userid;

    //手机号
    private String  sureusertel;

    //省份
    private Integer provinceid;

    //城市
    private Integer cityid;

    //地区
    private Integer areaid;

    //详细地址
    private String  address;

    //秒杀商品ID
    private Integer flashgoodsid;

    //对应的商品ID
    private Integer goodid;

    //总价
    private double  allmoney;

    public OrderMessageVo() {
    }

    public OrderMessageVo(String sureusername, Integer sureshopnum, double surepice, Integer userid, String sureusertel, Integer provinceid, Integer cityid, Integer areaid, String address, Integer flashgoodsid, Integer goodid, double allmoney) {
        this.sureusername = sureusername;
        this.sureshopnum = sureshopnum;
        this.surepice = surepice;
        this.userid = userid;
        this.sureusertel = sureusertel;
        this.provinceid = provinceid;
        this.cityid = cityid;
        this.areaid = areaid;
        this.address = address;
        this.flashgoodsid = flashgoodsid;
        this.goodid = goodid;
        this.allmoney = allmoney;
    }

    public String getSureusername() {
        return sureusername;
    }

    public void setSureusername(String sureusername) {
        this.sureusername = sureusername;
    }

    public Integer getSureshopnum() {
        return sureshopnum;
    }

    public void setSureshopnum(Integer sureshopnum) {
        this.sureshopnum = sureshopnum;
    }

    public double getSurepice() {
        return surepice;
    }

    public void setSurepice(double surepice) {
        this.surepice = surepice;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getSureusertel() {
        return sureusertel;
    }

    public void setSureusertel(String sureusertel) {
        this.sureusertel = sureusertel;
    }

    public Integer getProvinceid() {
        return provinceid;
    }

    public void setProvinceid(Integer provinceid) {
        this.provinceid = provinceid;
    }

    public Integer getCityid() {
        return cityid;
    }

    public void setCityid(Integer cityid) {
        this.cityid = cityid;
    }

    public Integer getAreaid() {
        return areaid;
    }

    public void setAreaid(Integer areaid) {
        this.areaid = areaid;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getFlashgoodsid() {
        return flashgoodsid;
    }

    public void setFlashgoodsid(Integer flashgoodsid) {
        this.flashgoodsid = flashgoodsid;
    }

    public Integer getGoodid() {
        return goodid;
    }

    public void setGoodid(Integer goodid) {
        this.goodid = goodid;
    }

    public double getAllmoney() {
        return allmoney;
    }

    public void setAllmoney(double allmoney) {
        this.allmoney = allmoney;
    }

    @Override
    public String toString() {
        return "OrderMessageVo{" +
                "sureusername='" + sureusername + '\'' +
                ", sureshopnum=" + sureshopnum +
                ", surepice=" + surepice +
                ", userid=" + userid +
                ", sureusertel='" + sureusertel + '\'' +
                ", provinceid=" + provinceid +
                ", cityid=" + cityid +
                ", areaid=" + areaid +
                ", address='" + address + '\'' +
                ", flashgoodsid=" + flashgoodsid +
                ", goodid=" + goodid +
                ", allmoney=" + allmoney +
                '}';
    }
}
